import request from '@/router/axios';

export const targetInfoStatistic = (params) => {//date和parentType
    return request({
        url: '/api/blade-xy-big-screen/targrtinfo/targetInfoStatistic',
        method: 'get',
        params: {
            ...params,
        }
    })
}

export const targetHistogram = (params) => {//date和type
    return request({
        url: '/api/blade-xy-big-screen/targrtinfo/targetHistogram',
        method: 'get',
        params: {
            ...params,
        }
    })
}

export const targetHistogram_new = (params) => {//date和type
    return request({
        url: '/api/blade-xy-big-screen/targrtinfo/targetHistogram_new',
        method: 'get',
        params: {
            ...params,
        }
    })
}

export const targetrecordList = (params) => {//yearAndMonth type
    return request({
        url: '/api/blade-xy-big-screen/targetrecord/list',
        method: 'get',
        params: {
            ...params,
        }
    })
}






